@font-face {
  font-family: 'NotoSans';
  src: url('../fonts/noto-sans/NotoSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "NotoSans", sans-serif;
}


body {
    background: #fff;
    overflow-x: hidden;
}

body, html {
    overflow-x: hidden;
}

header .logo {
    position: relative;
    width: 140px;
    height: auto;
}

header .logo img:first-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    transition: opacity 0.3s;
    opacity: 1; 
}

header .logo .logo-blue {
    top: 0;
    left: 0;
    width: 140px;
    transition: opacity 0.3s;
    opacity: 0; 
}

header.scrolled .logo img:first-child {
    opacity: 0; 
}

header.scrolled .logo .logo-blue {
    opacity: 1; 
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: 0.3s;
    background: transparent;
}

header.scrolled {
    background: #ffffff;
    border-bottom: 4px solid #033d83; 
}

header .container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    font-size: 14px;
    color: white;
    transition: 0.3s;
}

header.scrolled nav ul li a {
    color: #000;
}

.triangle-btn-wrapper {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.triangle-btn-wrapper div {
  width: 100%;
  height: 4px;
  background-color: black; 
  transition: 0.3s;
}


header.scrolled .triangle-btn-wrapper div {
  background-color: #ef7e04;
}

.hero {
    height: 95vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("../images/syria-energy\ page.jpg") center/cover no-repeat;
}


.hero-content {
    z-index: 2;
}


.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 25px;
    left: 0;
    background: #ffffff;
    padding: 10px 0;
    border-radius: 6px;
    display: none;
    min-width: 170px;
    top: calc(120% - 5px);
}

.dropdown-menu li a {
    color: #000 !important;
    display: block;
    padding: 8px 15px;
    text-decoration: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.intro-section {
    padding: 100px 0;
}

.intro-container {
    width: 80%;
    margin: auto;
    display: flex;
    gap: 40px;
}

.intro-image-box {
    padding: 1px;
    width: 380px;
    height: 250px;
    margin-left: 110px;
}

.intro-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 30px;
}

.small-title {
    font-size: 14px;
    font-weight: bold;
    color: #000501;
    margin-bottom: 10px;
}

.main-title {
    font-size: 30px;
    font-weight: bold;
    color: #ef7e04;
    margin-bottom: 20px;
}

.description {
    margin-top: 10px;
    width: 500px;
    color: #000501;
    line-height: 14pt;
    text-align: justify;
    text-justify: inter-word;
}

.why-syria-energy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 100px;
    gap: 40px;
    width: 80%;
    margin: auto;
}

.text-box {
    flex: 1;
    text-align: justify;
}

.text-box h1 {
    font-size: 40px;
    color: #ef7e04;
    margin-bottom: 15px;
    margin-right: 277px
}

.text-box p {
    line-height: 1.4;
    margin-bottom: 25px;
    text-align: justify;
    align-items: flex-start;
    display: flex;
    gap: 15px;
}

.text-box p span{
    min-width:15px;
    height:15px;
    display:inline-block;
    border-right:5px solid #ef7e04;
    border-bottom:5px solid #ef7e04;
    transform: rotate(-135deg);
    margin-top:8px;
}

.primary-btn {
    background: #ef7e04;
    color: black;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.slider-container {
    width: 330px;
    position: relative;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 260px;
    border-radius: 12px;
    display: flex;
    transition: transform 0.4s ease;
}

.slider img {
    width: 100%;
    position: relative;
    flex-shrink: 0;
    border-radius: 12px;
}


.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    gap: 12px;
}

.slider-controls button {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ccc;
}

.dot.active {
    background: black;
}

.intro-section1 {
    padding: 100px 0;
}

.intro-container1 {
    width: 80%;
    margin: auto;
    display: flex;
    gap: 40px;
}

.intro-text1{
    margin-top: 30px;
}

.intro-image-box1 {
    padding: 1px;
    width: 380px;
    height: 250px;
    margin-left: 110px;
}

.intro-image-box1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 30px;
    border-left: 12px solid #ef7e04;
    border-radius: 0px 15px 15px 0px;
}

.small-title1 {
    font-size: 14px;
    font-weight: bold;
    color: #000501;
    margin-bottom: 10px;
}

.main-title1 {
    font-size: 30px;
    font-weight: bold;
    color: #ef7e04;
    margin-bottom: 20px;
}

.description1 {
    margin-top: 10px;
    width: 500px;
    color: #000501;
    line-height: 18pt;
    text-align: justify;
    text-justify: inter-word;
}


/* ======== SECTION: sponsored by ======== */

.sponsored-by {
    width: 100%;
    background: #ffffff;
    padding: 40px 8%;
}

.sponsored-content {
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.text-side{
    margin-left: 130px;
}

.text-side h2 {
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
    margin-right: 12%;
    color: #ef7e04;
}

/* ===== البنر الأسود ===== */

.sponsors {
    width: 100%;
    background: #0a0a0a;
    padding: 20px 0;
    overflow: hidden;
}

.sponsor-track {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    padding-left: 100%;
    width: max-content;
    animation: marquee 8s linear infinite;
}

.sponsor-track img {
    height: 60px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: transform 0.3s;
}

.sponsor-track img:hover {
    transform: scale(1.1);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.sectors-covered {
  width: 80%; 
  max-width: 960px; 
  margin: 20px auto; 
}

h1 {
  text-align: center;
  color: #ef7e04; 
}

.sectors-covered p {
  text-align: center;
  margin-bottom: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 90px;
}

.card {
  border-radius: 10px;
  transition: transform 0.3s ease;
  position: relative;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-box {
    background: white;
    padding: 30px;
    margin: 150px auto;
    width: 80%;
    border: 8px solid #ef7e04;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-box .text {
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

.contact-btn {
    padding: 12px 26px;
    background: #ef7e04;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
}

/* Footer */
.footer {
    background: white;
    padding: 50px 80px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}


.footer-logo {
    display: flex;
    flex-direction: column; 
}

.logo-wrapper {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
    align-items: flex-start; 
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 80px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;   
    height: 40px;
    border-radius: 50%;
    background: #033d83;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

.social-icons a img {
    width: 20px;   
    height: 20px;
    display: block;
}

.social-icons a:hover {
    background: #0a2955;
    transform: scale(1.1);
}

.footer-section h3 , 
.footer-section p{
    margin-bottom: 10px;
    color: #033d83;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin: 8px 0;
    color: #444;
    padding-left: 20px;
    position: relative;
}

.footer-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px; 
    height: 8px;
    background-color: #033d83; 
    border-radius: 50%; 
}

.footer-section ul li a{
    text-decoration: none;
    color: #033d83;
}

.map-box {
    width: 140px;
    height: 120px;
    background: #e0e0e0;
    border: 1px solid #aaa;
    margin-top: 10px;
}

.bottom-bar {
    background: #0a2955;
    color: white;
    padding: 12px;
    text-align: center;
    font-size: 14px;
}

.back-to-top{
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    background: #fff;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    color: #ef7e04;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.3s ease;
}

.back-to-top polyline:last-child{
    stroke: #1e1400; 
}

.back-to-top.show{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover{
    transform: scale(1.05);
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-30%); }
}





@media (min-width: 992px) {
  .triangle-btn-wrapper {
    display: none;
  }
}

@media screen and (max-width: 480px) {
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px 0;
    }

    nav.active {
        display: block;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    nav ul li a {
        color: #000 !important;
    }

    nav ul {
        padding: 0;
    }

    .box-text {
        bottom: 10px; 
        left: 10px;
    }

    .box-text span {
        font-size: 8px; 
        margin-bottom: 10px;
    }

    .box-text h3 {
        font-size: 12px; 
        margin-top: 5px;
    }

    .box-text a {
        font-size: 10px; 
        padding: 3px 8px;
    }

    .hero-buttons {
        margin-top: 240px;
    }

    .intro-container {
        flex-direction: column-reverse; 
        align-items: center;
        gap: 20px;
        width: 90%;
        margin: auto;
    }

    .intro-image-box {
        width: 100%; 
        height: auto; 
        margin-left: 0; 
    }

    .intro-image-box img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .intro-text {
        margin-left: 0; 
        text-align: center; 
        width: 100%;
    }

    .small-title {
        font-size: 11px;
        margin-right: 70px;
    }

    .main-title {
        font-size: 16px;
        margin-right: 65px;
    }

    .description {
        width: 100%;
        font-size: 14px;
        line-height: 1.4;
        text-align: justify;
        text-justify: inter-word;
        margin-left: -38px;
    }

    .why-syria-energy {
        flex-direction: column;
        padding: 30px 20px;
    }

    .text-box h1 {
        font-size: 22px;
        margin-right: 85px;
        margin-top: 10px;
    }

    .slider-container {
        width: 100%;
    }

    .intro-section1{
        padding: 30px 20px;
    }

    .intro-container1 {
        flex-direction: column-reverse; 
        align-items: center;
        gap: 20px;
        width: 90%;
        padding: 30px 20px;
    }

    .intro-image-box1 {
        width: 100%; 
        height: auto; 
        margin-left: 0; 
    }

    .intro-image-box1 img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .intro-text1 {
        margin-left: 0; 
        text-align: center; 
        width: 100%;
    }

    .small-title1 {
        font-size: 11px;
        margin-right: 70px;
    }

    .main-title1 {
        font-size: 15px;
        margin-right: 65px;
    }

    .description1 {
        width: 100%;
        font-size: 14px;
        line-height: 1.4;
        text-align: justify;
        text-justify: inter-word;
        margin-left: -38px;
    }

    .sponsored-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .text-side p {
        max-width: 100%;
        font-size: 14px;
    }

    .learn-more-btn {
        margin-top: 15px;
    }

    .sponsored-by{
        padding: 25px 12%;
    }

    .sponsored-content{
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        margin-bottom: 25px;
    }

    .text-side{
        margin-left: 0;
    }

    .text-side h2{
        font-size: 22px;
        margin-left: 50px;
    }

    .learn-more-btn{
        margin-top: 10px;
        padding: 9px 16px;
        font-size: 14px;
    }

    /* ===== البنر ===== */
    .sponsors{
        width: 100%;
        padding: 15px 0;
    }

    .sponsor-track{
        gap: 20px;
        animation: marquee 10s linear infinite;
    }

    .sponsor-track img{
        height: 38px;
    }

    .card-grid{
        gap: 10px;
    }

    .contact-box {
        flex-direction: column;       
        gap: 15px;
        width: 90%;
        padding: 20px;
        text-align: center;
        margin-top: 70px;
        margin-bottom: 50px;
    }

    .contact-box .text {
        font-size: 18px;              
    }

    .contact-btn {
        padding: 10px 20px;           
        font-size: 16px;
    }

    .footer {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 24px 12px !important;
        grid-template-columns: none !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    .footer * {
        box-sizing: border-box !important;
        max-width: 100%;
    }

    .footer > .logo-wrapper,
    .footer > .footer-logo,
    .footer > :nth-child(1) {
        width: 100% !important;
        flex: 0 0 100% !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .footer > :nth-child(n+2) {
        flex: 0 0 45% !important;    
        max-width: 48% !important;
        width: 48% !important;
        min-width: 140px !important;
    }
    
    .footer img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .footer-section {
        width: 48% !important;
        max-width: 48% !important;
        flex: 0 0 48% !important;
        padding: 8px 6px !important;
    }
    
    .footer-section h3 {
        font-size: 15px !important;
        margin-bottom: 8px !important;
    }
    
    .footer-section p,
    .footer-section ul li {
        font-size: 13px !important;
    }
    
    
    .social-icons {
        justify-content: center !important;
        margin-top: 12px !important;
    }
    
    .footer > * {
        display: block !important;
    }
}    